package metainv;

import java.lang.reflect.Method;

public class MetaInvInfoConditional extends MetaInvInfo {
	Method predicate;

	public MetaInvInfoConditional(ConstraintType c, String p1, String p2,
			Method predicate) {
		super(c, p1, p2);
		this.predicate = predicate;
	}

	public Method getPredicate() {
		return predicate;
	}

	public void setPredicate(Method predicate) {
		this.predicate = predicate;
	}

	@Override
	public String toString() {
		return "MetaInvInfoConditional [predicate=" + predicate + ", c=" + c
				+ ", p1=" + m1 + ", p2=" + m2 + "]";
	}

}
